package com.gh;

import com.gh.vo.order.OrderCountQueryVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.Map;

/**
 * @Author Eric
 * @Date 2021/6/30 22:46
 * @Version 1.0
 */
@Component
@FeignClient("service-order")
public interface OrderFeignClient {

    @PostMapping("/api/order/orderInfo/inner/getCountMap")
    Map<String ,Object> getCountMap(@RequestBody OrderCountQueryVo orderCountQueryVo);
}
